package com.zjp.pojo;

import lombok.ToString;

import java.util.Date;
@ToString
public class ISiteAndAreaVo extends InoculationSite {
    private Integer id;

    private Long inoculationid;

    private Integer pca;

    private String detailedaddress;

    private String inoculationname;

    private Date starttime;

    private Date endtime;

    public ISiteAndAreaVo(Integer id, Long inoculationid, Integer areaid, String detailedaddress, String inoculationname, Date starttime, Date endtime) {
        this.id = id;
        this.inoculationid = inoculationid;
        this.pca = areaid;
        this.detailedaddress = detailedaddress;
        this.inoculationname = inoculationname;
        this.starttime = starttime;
        this.endtime = endtime;
    }

    public ISiteAndAreaVo() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getInoculationid() {
        return inoculationid;
    }

    public void setInoculationid(Long inoculationid) {
        this.inoculationid = inoculationid;
    }

    public Integer getPca() {
        return pca;
    }

    public void setPca(Integer pca) {
        this.pca = pca;
    }

    public String getDetailedaddress() {
        return detailedaddress;
    }

    public void setDetailedaddress(String detailedaddress) {
        this.detailedaddress = detailedaddress == null ? null : detailedaddress.trim();
    }

    public String getInoculationname() {
        return inoculationname;
    }

    public void setInoculationname(String inoculationname) {
        this.inoculationname = inoculationname == null ? null : inoculationname.trim();
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }
}